package com.hna.iot.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author cdw
 * @since 2018-11-06
 */
@TableName("iot_sub_device")
public class IotSubDevice extends Model<IotSubDevice> {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	private Long id;

	/**
	 * 
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 
	 */
	@TableField(value="update_time")
	private Date updateTime;

	/**
	 * 
	 */
	private String descr;

	/**
	 * 
	 */
	@TableField(value="sub_device_no")
	private String subDeviceNo;

	/**
	 * 
	 */
	@TableField(value="device_id")
	private Long deviceId;

	/**
	 * 
	 */
	@TableField(value="sub_device_name")
	private String subDeviceName;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDescr() {
		return descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	public String getSubDeviceNo() {
		return subDeviceNo;
	}

	public void setSubDeviceNo(String subDeviceNo) {
		this.subDeviceNo = subDeviceNo;
	}

	public Long getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(Long deviceId) {
		this.deviceId = deviceId;
	}

	public String getSubDeviceName() {
		return subDeviceName;
	}

	public void setSubDeviceName(String subDeviceName) {
		this.subDeviceName = subDeviceName;
	}

	@Override
	protected Serializable pkVal() {
		// TODO Auto-generated method stub
		return null;
	}

}
